#if !defined(AFX_IMAGEBUTTON_H__C1FC1C6F_AB30_4E21_A58C_D27EA9EFF952__INCLUDED_)
#define AFX_IMAGEBUTTON_H__C1FC1C6F_AB30_4E21_A58C_D27EA9EFF952__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif 

class CImageButton : public CStatic
{
public:
	CImageButton();
	virtual ~CImageButton();
private:
	int m_hBitmapNormal;
	int m_hBitmapPressed;
	BOOL m_IsPressed;
public:
	//{{AFX_VIRTUAL(CImageButton)
	//}}AFX_VIRTUAL
public:
	BOOL GetPressedStatus();
	void Initial(BOOL IsPressed, int intBitmapNormal,int intBitmapPressed);
	void SetPressed(BOOL IsNeedPressed);
	
protected:
	//{{AFX_MSG(CImageButton)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#endif 